/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DBLayer;

import ModelLayer.Clothing;
import java.util.ArrayList;

/**
 *
 * @author Tommy
 */
public interface IFDBClothing {
    // get all Clothing
    public ArrayList getAllClothing(boolean retriveAssociation);
    //get one Clothing having the dno
    public Clothing findClothing(int dno, boolean retriveAssociation);
    //find one Clothing having the Clothing name
    public Clothing searchClothingOnName(String dname, boolean retriveAssociation);
    //insert new Clothing
    public int insert(Clothing cloth);
    //update Clothing
    public int update(Clothing cloth);
    //delete Clothing
    public int delete(Clothing cloth);
}
